package com.yty.system.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 消息体内容实体对象
 */

@Data
@Accessors(chain = true)
public class ProducerVo<T> implements Serializable {

    @ApiModelProperty(value = "发送时间")
    private String sendTime;

    @ApiModelProperty(value = "主题")
    private String topic;

    @ApiModelProperty(value = "tag")
    private String tag;

    @ApiModelProperty(value = "key")
    private String key;

    @ApiModelProperty(value = "数据体")
    private T data;
}
